package banshee.ai;

import jp.ac.waseda.cs.washi.gameaiarena.api.Point2;

public class StrategyResult
{
	//public final int							diff[][];
	public final int							gain;
	public final int							cost;
	public final Point2						dest;

	public static final StrategyResult	NO_WAY	= new StrategyResult(null, -1, 1000000);

//	public StrategyResult(Point dest, int[][] diff, int gain, int cost)
//	{
//		this.dest = dest;
//		this.diff = diff;
//		this.gain = gain;
//		this.cost = cost;
//	}

	public StrategyResult(Point2 dest, int gain, int cost)
	{
		this.dest = dest;
		this.gain = gain;
		this.cost = cost;
	}

	public double ratio()
	{
		return (double) gain / cost;
	}
}
